package 定义人类创建两个人相互打招呼;

public class Person {

	private String name;
	
	public void sayHello(Person person) {
		System.out.println("你好" + person.name + "，我是" + "练习时长两年半的个人练习生" + this.name + "，喜欢唱、跳、Rap、篮球。");
	}
	
	Person(){
		super();
	}

	public Person(String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	

}
